<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
  let student = {
    name:'鸡小满',
    age: 24,
    height: 175,
    weight: 65,
    sing: function(){
      console.log("鸡你太美");
    },
    jump: function(){
      console.log("铁山靠");

    },
  };
  console.log(student.name);
  console.log(student.age);
  student.sing();
  student.jump();
  //id 这个属性在上面定义的时候没有，不打紧，首次赋值的时候就创建出来了
  student.id = 100;
  student.playBasketBall = function(){
      console.log(this.name+"打篮球");
  }
  student.playBasketBall();
</script>
</body>
</html>